{include file="header.html"}
<div id="rightTop">
  <p>导入评论列表</p>
  <ul class="subnav">
        <li><span>管理</span></li>
        <li><a class="btn1" href="index.php?app=createcomment&amp;act=add">添加</a></li>
    </ul>
</div>
<div class="mrightTop1 info">
  <div class="fontl">
    <form method="get">
      <div class="left">
          <input type="hidden" name="app" value="createcomment" />
          <input type="hidden" name="act" value="index" />
            评论内容:
            <input class="queryInput" type="text" style="width: 300px" name="content" value="{$smarty.get.content|escape}" />
            
            <input type="submit" class="formbtn" value="{$lang.query}" />
      </div>
    </form>
  </div>
  <div class="fontr">{include file=page.top.html}</div>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <tr class="tatr1">
      <td width="5%" class="firstCell"><input type="checkbox" class="checkall" /></td>
      <td width="5%"><span ectype="order_by" fieldname="comment_id">评论ID</span></td>
      <td width="5%"><span fieldname="user_name">操作者</span></td>
      <td width="10%"><span fieldname="cate_id">分类</span></td>
      <td width="60%"><span fieldname="content">评论内容</span></td>
      <td><span fieldname="add_time">添加时间</span></td>
      <td><span fieldname="update_time">修改时间</span></td>
      <td>{$lang.handler}</td>
    </tr>
    <!--{foreach from=$list item=v}-->
    <tr class="tatr2">
      <td class="firstCell"><input type="checkbox" class="checkitem" value="{$v.comment_id}"/></td>
      <td>{$v.comment_id}</td>
      <td>{$v.user_name|escape}</td>
      <td>{$cates.$v.cate_id}</span></td>
      <td>{$v.content}</td>
      <td>{$v.add_time|date}</td>
      <td>{$v.update_time|date}</td>
      <td>
          <a href="index.php?app=createcomment&act=edit&comment_id={$v.comment_id}">修改</a> | 
          <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=createcomment&act=drop&id={$v.comment_id}&ret_page={$page_info.curr_page}');">{$lang.drop}</a>
      </td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data info">
      <td colspan="8">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  <!--{if $list}-->
  <div id="dataFuncs">
    <div id="batchAction" class="left paddingT15"> 
      <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=createcomment&act=drop&ret_page={$page_info.curr_page}" presubmit="confirm('{$lang.drop_confirm}')" />
    </div>
    <div class="pageLinks">{include file=page.bottom.html}</div>
   <!--{/if}-->
  </div>
  <div class="clear"></div>
</div>
{include file="footer.html"}
